package cn.minhx.types.design.tree;

/**
 * 受理策略处理
 *
 * @author minhx
 *         <p>
 *         T 入参类型 D 上下文参数 R 返参类型
 */
public interface StrategyHandler<T, D, R> {

	StrategyHandler DEFAULT = (T, D) -> null;

	R apply(T requestParameter, D dynamicContext) throws Exception;
}
